<template>
	<view>
		<chose-city @selectCity="selectCity" v-if="showCity" ></chose-city>
	</view>
</template>

<script>
	import choseCity from "@/components/chose-city/chose-city"
	export default {
	    components: {
	        choseCity
	    },
	    data() {
	        return {
	            showCity:true   // 默弹窗显示
	        }
	    },
	    methods: { 
	        selectCity(item) {
	           if(item.name){
				   uni.navigateBack({
				   	  delta:1
				   })
			   }
	        },
	        // closeModal() {
	        //     this.showCity = false
	        // },
	    }
	}
</script>

<style>

</style>
